Partial Evaluation and Symbolic Computation for the Understanding of Fortran Programs

نویسندگان

  • Sandrine Blazy
  • Philippe Facon
چکیده

We describe a technique and a tool supporting partial evaluation of Fortran programs, i.e. their specialization for specific values of their input variables. We aim at understanding old programs, which have become very complex due to numerous extensions. From a given Fortran program and these values of its input variables, the tool provides a simplified program, which behaves like the initial one for the specific values. This tool uses mainly constant propagation and simplification of alternatives to one of their branches. The tool is specified in inference rules and operates by induction on the Fortran abstract syntax. These rules are compiled into Prolog by the Centaur/Fortran environment.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Partial Evaluation of Numerical Programs in Fortran

our results using the Fast Fourier Transformation, the N-body attraction problem, and the cubic splines interpolation as examples. We investigate the application of partial evaluation to numerically oriented computation in scientific and engineering applications. We present our results using the Fast Fourier Transformation, the N-body attraction problem, and the cubic splines interpolation as e...

متن کامل

Cost-Augmented Partial Evaluation of Functional Logic Programs

We enhance the narrowing-driven partial evaluation scheme for lazy functional logic programs with the computation of symbolic costs. The enhanced scheme allows us to estimate the effects of the program transformer in a precise framework and, moreover, to quantify these effects. The considered costs are “symbolic” in the sense that they measure the number of basic operations performed during a c...

متن کامل

Excerpts from a Proposal to the National Science Foundation on Programming Environments and Tools for Advanced Scientiic Computation 2.1 Mathematical Modeling and Symbolic Computing

1 Summary We propose to concentrate on investigations of technology in support of advanced scientiic computation, based on a higher-level view of the relationship of mathematical modeling to computation. This is based on the following considerations: 1. Symbolic mathematical manipulation and computer algebra systems: These are tools and techniques that support problem solving, code development,...

متن کامل

Excerpts from a proposal to the National Science

1 Summary We propose to concentrate on investigations of technology in support of advanced scientiic computation, based on a higher-level view of the relationship of mathematical modeling to computation. This is based on the following considerations: 1. Symbolic mathematical manipulation and computer algebra systems: These are tools and techniques that support problem solving, code development,...

متن کامل

An approach for the understanding of scientific application programs based on program specialization

This paper reports on an approach for improving the understanding of old programs which have become very complex due to numerous extensions. We have adapted partial evaluation techniques for program understanding. These techniques mainly use propagation through statements and simplifications of statements. We focus here on the automatic interprocedural analysis and we specify both tasks for cal...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1993